<?php
namespace Services;
/**
 * File holds class for Type data manipulation
 *
 * PHP version 5.3.5
 *
 * @category   CM
 * @package    Services
 * @subpackage -
 * @author     markus karileet <markuskarileet@hotmail.com>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL
 * @link       -
 */
class Type extends ORM {
	/**
	 * Method returns all types from database
	 * @return array Array of types
	 */
	public function getAllTypes() {
		$t = new \Entities\Type();
		$types = $this->selectMulti($t);
		return $types;
	}
}